package com.bsj.power.pls.config.net.netty.common.client;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author yinhao
 * @version 1.0
 * @description
 * @date 2024/10/12
 */
@Component
public class RTKTcpClientConstant {


    @Value("${myUrl.rtk.ip}")
    public static String ip;

    @Value("${myUrl.rtk.port}")
    public static Integer port;

    @Value("${myUrl.rtk.ip}")
    public void setIp(String ip) {
        RTKTcpClientConstant.ip = ip;
    }

    @Value("${myUrl.rtk.port}")
    public void setPort(Integer port) {
        RTKTcpClientConstant.port = port;
    }
}
